<?php

include_once('../dao/FamiliaDAO.php');
new Conexao(); // Paamayim Nekudotayim

FamiliaDAO::excluir(FamiliaDAO::buscaPorId($_GET['id']));
header("location: ../include/confirma.php?msg=".urlencode("Excluindo..."));
exit;

?>